<template>
  <dv-digital-flop :config="config"/>
</template>

<script>
export default {
  name: "digtalChart",
  props: {
    value: {
      type: Number,
      default: 0
    },
    fontSize: {
      type: Number,
      default: 10
    },
    content: {
      type: String,
      default: "{nt}"
    }
  },
  computed: {
    config() {
      return {
        number: [this.value],
        content: this.content,
        style: {
          fontSize: this.fontSize
        }
      }
    }
  }
}
</script>

<style scoped>

</style>